* {
    padding: 0;
    margin: 0;
}
html {
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    background-color: #f3f3f3;
}
.chatRoom {
    width: 1000px;
    height: 518px;
    margin: 0 auto;
    margin-top: 10px!important;
    background-color: #FFFFFF;
    border-radius: 10px;
    display: flex;
}
.chatRoomBoxLeft{
    width: 320px;
    height: 518px;
    background-color: black;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
    overflow-y: scroll;
}
.chatRoomBoxRight{
    width: 680px;
    height: 518px;
    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px;
}
.chatRoomTop{
    width: 320px;
    height: 73px;
    padding: 0 10px 0 10px;
    background-color: black;
    border-top-left-radius: 10px;
    border-bottom: 1px solid white;
    /*line-height: 73px;*/
    position: relative;
}
.chatRoomLeft{
    /*padding: 0 10px 0 10px;*/
    background-color: skyblue;
}
.chatPeople{
    width: 320px;
    height: 73px;
    /*background-color:#7d7d7d;*/
    padding: 10px;
    opacity: 0.2;
    border-bottom: 1px solid #ffffff;
    position: relative;
    cursor: pointer;
}
/*滚动条整体样式*/
.chatRoomBoxLeft::-webkit-scrollbar {
    width : 5px;  /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
/*滚动条里面小方块*/
.chatRoomBoxLeft::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.1);
    background   : #535353;
}
/*滚动条里面轨道*/
.chatRoomBoxLeft::-webkit-scrollbar-track {
    box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background   : #ededed;
}
.emptyChat{
    width: 400px;
    height: 25px;
    color: rgba(0,0,0,0.3);
    margin: 0 auto;
    margin-top: 200px!important;
}
.userHead{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid red;
    /*padding-top: 10px;*/
    position: absolute;
    top: 12px;
    cursor: pointer;
}
.userNickname{
    width: 150px;
    height: 73px;
    line-height: 73px;
    color: #FFFFFF;
    position: absolute;
    left: 70px;
    cursor: pointer;
}
.friendHead{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid red;
    /*padding-top: 10px;*/
    position: absolute;
    top: 12px;
    cursor: pointer;
}
.friendNickname{
    width: 150px;
    height: 53px;
    line-height: 53px;
    color: black;
    position: absolute;
    left: 70px;
    cursor: pointer;
    z-index: 9;
}
.Head{
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.chatPeople:hover{
    background-color: #00d95a;
}
.chatRoomRight{
    width: 680px;
    height: 518px;

}
.chatBoxTop{
    width: 660px;
    height: 50px;
    border-bottom: 1px solid #adadad;
}
.chatContentBox{
    margin-top: 10px;
    width: 660px;
    height: 380px;
    overflow: hidden;
    overflow-y: scroll;
    border: 1px solid green;
    /*float: right;*/
}
.chatContent{
    width: 500px;
    min-height: 50px;
    border: 1px solid red;
    display: flex;
}
.chat{
    min-width: 50px;
    min-height: 50px;
    border: 1px solid darkgreen;
    /*display: inline-block;*/
}
.chatHead{
    min-width: 48px;
    height: 28px;
    line-height: 28px;
    /*border-radius: 100%;*/
    border: 1px solid blue;
    /*display: inline-block;*/
    margin-right: 10px;
}
.toChat{
    display: none;
}
/*滚动条整体样式*/
.chatContentBox::-webkit-scrollbar {
    width : 5px;  /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
/*滚动条里面小方块*/
.chatContentBox::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.1);
    background   : #535353;
}
/*滚动条里面轨道*/
.chatContentBox::-webkit-scrollbar-track {
    box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background   : #ededed;
}
.sendMessage{
    width: 640px;
    height: 60px;
    border: 1px solid red;
    margin-left: 10px;
}
.sendMessageInput{
    width: 530px;
    height: 50px;
    border: 1px solid green;
}
.submit{
    width: 80px;
    height: 40px;
    margin-left: 20px;
}